package com.jhgk.jhcee.auth.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class JhProduct implements Serializable {
    @ApiModelProperty(value = "产品ID")
    private Integer id;

    @ApiModelProperty(value = "产品UUID")
    private String productUuid;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "产品宣传图 URL")
    private String bannerUrl;

    @ApiModelProperty(value = "产品16:9 URL")
    private String productDescUrl;

    @ApiModelProperty(value = "H5封面图片")
    private String productH5Url;

    @ApiModelProperty(value = "适用省份ID")
    private String provinceUuid;

    @ApiModelProperty(value = "适用省份名称")
    private String provinceName;

    @ApiModelProperty(value = "产品有效期")
    private String validityDate;

    @ApiModelProperty(value = "产品状态 0 下架 1上架")
    private Byte status;

    @ApiModelProperty(value = "产品零售价")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "产品成本价")
    private BigDecimal lowPrice;

    @ApiModelProperty(value = "组织ID(购买该产品可同步的权限组织)")
    private String orgId;

    @ApiModelProperty(value = "产品类型表id")
    private Integer productType;

    @ApiModelProperty(value = "分公司对价格是否可改：1- 可改  0-不可改")
    private Integer ognUpdate;

    @ApiModelProperty(value = "产品备注")
    private String mark;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "产品描述")
    private String productDesc;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductUuid() {
        return productUuid;
    }

    public void setProductUuid(String productUuid) {
        this.productUuid = productUuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public String getProductDescUrl() {
        return productDescUrl;
    }

    public void setProductDescUrl(String productDescUrl) {
        this.productDescUrl = productDescUrl;
    }

    public String getProductH5Url() {
        return productH5Url;
    }

    public void setProductH5Url(String productH5Url) {
        this.productH5Url = productH5Url;
    }

    public String getProvinceUuid() {
        return provinceUuid;
    }

    public void setProvinceUuid(String provinceUuid) {
        this.provinceUuid = provinceUuid;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getValidityDate() {
        return validityDate;
    }

    public void setValidityDate(String validityDate) {
        this.validityDate = validityDate;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getLowPrice() {
        return lowPrice;
    }

    public void setLowPrice(BigDecimal lowPrice) {
        this.lowPrice = lowPrice;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public Integer getOgnUpdate() {
        return ognUpdate;
    }

    public void setOgnUpdate(Integer ognUpdate) {
        this.ognUpdate = ognUpdate;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productUuid=").append(productUuid);
        sb.append(", name=").append(name);
        sb.append(", bannerUrl=").append(bannerUrl);
        sb.append(", productDescUrl=").append(productDescUrl);
        sb.append(", productH5Url=").append(productH5Url);
        sb.append(", provinceUuid=").append(provinceUuid);
        sb.append(", provinceName=").append(provinceName);
        sb.append(", validityDate=").append(validityDate);
        sb.append(", status=").append(status);
        sb.append(", marketPrice=").append(marketPrice);
        sb.append(", lowPrice=").append(lowPrice);
        sb.append(", orgId=").append(orgId);
        sb.append(", productType=").append(productType);
        sb.append(", ognUpdate=").append(ognUpdate);
        sb.append(", mark=").append(mark);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", productDesc=").append(productDesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}